package entities;

import java.io.Serializable;

/**
 * The class for storing schedule activities
 * 
 * @author Christian
 * 
 */
public class ScheduleActivity implements Serializable{
	private String room;
	private String teacher;
	private String activityType;
	private String subject;
	private int startTime;
	private int endTime;
	private String date;
	private int timeShare;
	private int timeSharePos;
	private String weekDay;
	private String weekAndYear;
	static final long serialVersionUID = 335L;
	
	public ScheduleActivity(String room, String teacher, String activityType,
			String subject, int startTime, int endTime, String date, int timeShare,int timeSharePos) {
		super();
		this.room = room;
		this.teacher = teacher;
		this.activityType = activityType;
		this.subject = subject;
		this.startTime = startTime;
		this.endTime = endTime;
		this.date=date;
		this.setTimeShare(timeShare);
		this.setTimeSharePos(timeSharePos);
	}
	public ScheduleActivity(String room, String teacher, String activityType,
			String subject, int startTime, int endTime, String date, String weekDay,String weekYear,int timeShare,int timeSharePos) {
		super();
		this.room = room;
		this.teacher = teacher;
		this.activityType = activityType;
		this.subject = subject;
		this.startTime = startTime;
		this.endTime = endTime;
		this.date=date;
		this.weekDay=weekDay;
		this.weekAndYear=weekYear;
		this.setTimeShare(timeShare);
		this.setTimeSharePos(timeSharePos);
	}
	public String getRoom() {
		return room;
	}

	public void setRoom(String room) {
		this.room = room;
	}

	public String getTeacher() {
		return teacher;
	}

	public void setTeacher(String teacher) {
		this.teacher = teacher;
	}

	public String getActivitytype() {
		return activityType;
	}

	public void setActivitytype(String activityType) {
		this.activityType = activityType;
	}

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public int getStartTime() {
		return startTime;
	}

	public void setStartTime(int startTime) {
		this.startTime = startTime;
	}

	public int getEndTime() {
		return endTime;
	}

	public void setEndTime(int endTime) {
		this.endTime = endTime;
	}

	public String getWeekAndYear() {
		return weekAndYear;
	}
	public void setWeekAndYear(String weekAndYear) {
		this.weekAndYear = weekAndYear;
	}
	public String getWeekDay() {
		return weekDay;
	}
	public void setWeekDay(String weekDay) {
		this.weekDay = weekDay;
	}
	public void setTimeShare(int timeShare) {
		this.timeShare = timeShare;
	}

	public int getTimeShare() {
		return timeShare;
	}

	public void setTimeSharePos(int timeSharePos) {
		this.timeSharePos = timeSharePos;
	}

	public int getTimeSharePos() {
		return timeSharePos;
	}
	
	public void setDate(String date) {
		this.date = date;
	}

	public String getDate() {
		return date;
	}
}
